<SCRIPT charset='utf-8' type='text/javascript'>
// Set the BaseURL to the URL of your camera
var BaseURL = "http://moneyexpresscar.dyndns.org";

// DisplayWidth & DisplayHeight specifies the displayed width & height of the image.
// You may change these numbers, the effect will be a stretched or a shrunk image
var DisplayWidth = "320";
var DisplayHeight = "240";

// This is the path to the image generating file inside the camera itself
var File = "axis-cgi/mjpg/video.cgi?resolution=320x240";
// No changes required below this point
var output = "";
  var AppletDir = BaseURL + "java/ama";
  var VideoPath = "axis-cgi/mjpg/video.cgi?resolution=";
  var restOfPath = "";
  var VideoURL = BaseURL + VideoPath;

  output  = '<APPLET archive="ama.jar" codeBase="';
  output += AppletDir + '"';
  output += ' code="ama.MediaApplet" height=';
  output += DisplayHeight;
  output += ' width=';
  output += DisplayWidth;
  output += '>';
  output += '<PARAM NAME="code" VALUE="ama.MediaApplet">';
  output += '<PARAM NAME="archive" VALUE="ama.jar">';
  output += '<PARAM NAME="codebase" VALUE="';
  output += AppletDir + '">';
  output += '<PARAM NAME="ama_cgi-path" VALUE="axis-cgi">';
  output += '<PARAM NAME="cache_archive" VALUE="ama.jar">';
  output += '<PARAM NAME="cache_version" VALUE="0.91.0.0">';
  output += '<PARAM NAME="ama_plugins" VALUE="">';
  output += '<PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">';
  output += '<PARAM NAME="ama_url" VALUE="';
  output += VideoURL;
  output += DisplayWidth + 'x' + DisplayHeight;
   output += restOfPath +'">';
  output += '</APPLET>'
document.write(output);
</SCRIPT>